home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1999 Spring / macformat-077.iso / Shareware Plus / Development / SpriteWorld 2.2 Extra Demos / SWFastLine Scrolling Test / Read Me next >
Encoding:
Text File  |  1998-12-25  |  626 b   |  5 lines  |  [TEXT/ttxt]

  1. This is a modified version of the Scrolling Demo that tests out the scrolling versions of the functions in SWFastLine.c. About all I added were ProcessRect(), EraseRectOffscreen(), and DrawRectOffscreen(). I also modified the Sprite MoveProcs so they set the needsToBeDrawn flag to true to they don't get erased when the rect moves over them, added a few global variables, and installed EraseRectOffscreen and DrawRectOffscreen as my postEraseCallBack and postDrawCallBack, respectively.
  2.  
  3. The only other modification is that the program makes sure it's in 8-bit depth; it not, it presents an alert dialog box and quits.
  4.  
  5. -Vern